import request from '@/utils/request'

export function getAllParent(param) {
  return request({
    url: '/mesBasicActionType/GetAll',
    method: 'get',
    params: param
  })
}

export function getOneParent(param) {
  return request({
    url: '/mesBasicActionType/Get',
    method: 'get',
    params: param
  })
}

export function createParent(param) {
  return request({
    url: '/mesBasicActionType/save',
    method: 'post',
    data: param
  })
}

export function updateParent(param) {
  return request({
    url: '/mesBasicActionType/save',
    method: 'post',
    data:param
  })
}
export function deleteBatchParent(param) {
  let url ='/mesBasicActionType/deleteBatch'
  return request({
    url: url,
    method: 'delete',
    data: param
  })
}


